package com.xianyun.site.iblog.dto.user.data;

import lombok.Data;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 三方账号信息 数据传输对象
 * @author mac_zyj
 */
@Data
public class SocialUserDTO implements Serializable {
    private Integer id;
    /**第三方系统的唯一ID	*/
    @NotEmpty
    private String uuid;
    /**第三方用户来源*/
    @NotEmpty
    private String source;
    @NotEmpty
    private String accessToken;
    @NotEmpty
    private Integer expireIn;
    private String refreshToken;
    private String uid;
    private String openId;
    private String accessCode;
    private String unionId;
    private String scope;
    private String tokenType;
    private String idToken;
    private String macAlgorithm;
    private String macKey;
    private String code;
    private String oauthToken;
    private String oauthTokenSecret;
    private String userId;
    private String screenName;
    private Boolean oauthCallbackConfirmed;
}
